﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPEI.WorkflowCore
{
    /// <summary>
    /// 工作流实例存储
    /// </summary>
    public interface IInstanceStorage
    {
        Instance Find(Guid id);

        PagedList<Instance> FindList(int start, int limit);

        void Save(Instance instance);

        void Remove(Instance instance);
    }
}
